package cn.agiledata.bank.transaction.service;

import cn.agiledata.bank.hibernateBean.Account;
import cn.agiledata.bank.hibernateBean.Groups;
import cn.agiledata.bank.hibernateBean.SubAccount;
import cn.agiledata.bank.hibernateBean.Transaction;

public interface FeeRatioInterf {

    public abstract Long getDebitRatioHis(Transaction tran);

    public abstract Long getCreditRatioHis(Transaction tran);

    public abstract double getDebitFee(Transaction tran);

    public abstract double getCreditFee(Transaction tran);

    public String getFeeRatio(Groups ag, String id);

    public double getDebitFee(SubAccount debit, String actionType,
            Double amount, String bankSeq);

    public double getCreditFee(String tranBankSeq, Account creditAccount,
            String actionType, Double amout);

}